package com.grad.why.studentsystem.mapper.qlxmapper;

import com.grad.why.studentsystem.domain.current.CurrentChooseCourseInfo;
import com.grad.why.studentsystem.domain.current.CurrentCourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author tyh
 * @Package com.grad.why.studentsystem.mapper.qlxmapper
 * @Description:
 * @date 19-5-17 上午11:19
 */
public interface TeacherInfoMapper {

    List<Map<String,Object>> getTeacherInfo(@Param("id") int id);

    List<CurrentChooseCourseInfo> getSelectTeacherCourseInfo(@Param("offset") int offset,
                                                             @Param("limit") int limit,
                                                             @Param("id") int id);

    long getSelectTeacherCourseNum(@Param("id") int id);

    List<CurrentCourse> getTeacherCourseInfo(@Param("offset") int offset,
                                             @Param("limit") int limit,
                                             @Param("id") int id);

    long getTeacherCourseNum(@Param("id") int id);



}
